<!DOCTYPE html>
	<html lang="es">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	    <link href="res/css/bootstrap.min.css" rel="stylesheet" media="screen">
	    <link href="res/css/login.css" rel="stylesheet" media="screen">
	</head>
	<body>
	
	<?php
	$username = array('name' => 'username', 'placeholder' => 'Usuario');
	$password = array('name' => 'password',	'placeholder' => 'Password');
	$submit = array('name' => 'submit', 'value' => 'Iniciar sesión', 'title' => 'Iniciar sesión');
	?>
		<h1>Formulario de login</h1>
	
		<?=form_open(base_url().'login/reintentar')?>
		<label for="username">Usuario:</label>
		<?=form_input($username)?><p><?=form_error('username')?></p>
		<label for="password">Password:</label>
		<?=form_password($password)?><p><?=form_error('password')?></p>
		<?=form_hidden('token',$token)?>
		<?=form_submit($submit)?>
		<?=form_close()?>
		<?php 
		if($this->session->flashdata('usuario_incorrecto'))
		{
		?>
		<p><?=$this->session->flashdata('usuario_incorrecto')?></p>
		<?php
		}
		?>

<!--div class="container">
  <div class="row">
<div class="main">


      <h3>Formulario de login</h3>
        <hr class="hr-or">
      <div class="login-or">
      </div-->

      <!--form--> <!--form method="post" action="login"-->
         <!--?php echo form_open(base_url().'login/reintentar'); ?>
        <div class="form-group">
          <label for="inputUsernameEmail">Username</label>
          <input type="text" class="form-control" id="inputUsernameEmail" name="username">
        </div>
        <div class="form-group">
          <a class="pull-right" href="#">Forgot password?</a>
          <label for="inputPassword">Password</label>
          <input type="password" class="form-control" id="inputPassword" name="password">
        </div>
        <div class="checkbox pull-right">
          <label>
            <input type="checkbox">
            Remember me </label>
        </div>
        <button type="submit" class="btn btn btn-primary">
          Log In
        </button>
      </form>
    
    </div>
    
  </div>
</div-->		
		
	</body>
</html>
